Skip to content

Fix incorrect translation for AtomicCmpExchangeWeak builtin ptr arg type.#3390

Merged
MrSidims merged 1 commit intoKhronosGroup:mainfrom
maarquitos14:maronas/AtomicCmpXchgTypeFix
Oct 16, 2025
Merged

Fix incorrect translation for AtomicCmpExchangeWeak builtin ptr arg type.#3390
MrSidims merged 1 commit intoKhronosGroup:mainfrom
maarquitos14:maronas/AtomicCmpXchgTypeFix

Conversation

@maarquitos14
Copy link
Contributor

Add missing case so that pointer argument types for OpAtomicCompareExchangeWeak are resolved correctly. The newly added test, without this patch would introduce an invalid bitcast just before the atomic builtin.

@MrSidims MrSidims merged commit 6238ea3 into KhronosGroup:main Oct 16, 2025
9 checks passed
maarquitos14 pushed a commit to maarquitos14/SPIRV-LLVM-Translator that referenced this pull request Oct 16, 2025
…ype. (KhronosGroup#3390)

Add missing case so that pointer argument types for
`OpAtomicCompareExchangeWeak` are resolved correctly. The newly added
test, without this patch would introduce an invalid bitcast just before
the atomic builtin.
maarquitos14 pushed a commit to maarquitos14/SPIRV-LLVM-Translator that referenced this pull request Oct 16, 2025
…ype. (KhronosGroup#3390)

Add missing case so that pointer argument types for
`OpAtomicCompareExchangeWeak` are resolved correctly. The newly added
test, without this patch would introduce an invalid bitcast just before
the atomic builtin.
maarquitos14 pushed a commit to maarquitos14/SPIRV-LLVM-Translator that referenced this pull request Oct 16, 2025
…ype. (KhronosGroup#3390)

Add missing case so that pointer argument types for
`OpAtomicCompareExchangeWeak` are resolved correctly. The newly added
test, without this patch would introduce an invalid bitcast just before
the atomic builtin.
maarquitos14 pushed a commit to maarquitos14/SPIRV-LLVM-Translator that referenced this pull request Oct 16, 2025
…ype. (KhronosGroup#3390)

Add missing case so that pointer argument types for
`OpAtomicCompareExchangeWeak` are resolved correctly. The newly added
test, without this patch would introduce an invalid bitcast just before
the atomic builtin.
maarquitos14 pushed a commit to maarquitos14/SPIRV-LLVM-Translator that referenced this pull request Oct 16, 2025
…ype. (KhronosGroup#3390)

Add missing case so that pointer argument types for
`OpAtomicCompareExchangeWeak` are resolved correctly. The newly added
test, without this patch would introduce an invalid bitcast just before
the atomic builtin.
maarquitos14 pushed a commit to maarquitos14/SPIRV-LLVM-Translator that referenced this pull request Oct 16, 2025
…ype. (KhronosGroup#3390)

Add missing case so that pointer argument types for
`OpAtomicCompareExchangeWeak` are resolved correctly. The newly added
test, without this patch would introduce an invalid bitcast just before
the atomic builtin.
maarquitos14 pushed a commit that referenced this pull request Oct 17, 2025
…builtin ptr arg type. (#3390) (#3392)

Add missing case so that pointer argument types for
`OpAtomicCompareExchangeWeak` are resolved correctly. The newly added
test, without this patch would introduce an invalid bitcast just before
the atomic builtin.
maarquitos14 pushed a commit that referenced this pull request Oct 17, 2025
…builtin ptr arg type. (#3390) (#3393)

Add missing case so that pointer argument types for
`OpAtomicCompareExchangeWeak` are resolved correctly. The newly added
test, without this patch would introduce an invalid bitcast just before
the atomic builtin.
maarquitos14 pushed a commit that referenced this pull request Oct 17, 2025
…builtin ptr arg type. (#3390) (#3394)

Add missing case so that pointer argument types for
`OpAtomicCompareExchangeWeak` are resolved correctly. The newly added
test, without this patch would introduce an invalid bitcast just before
the atomic builtin.
maarquitos14 pushed a commit that referenced this pull request Oct 17, 2025
…builtin ptr arg type. (#3390) (#3395)

Add missing case so that pointer argument types for
`OpAtomicCompareExchangeWeak` are resolved correctly. The newly added
test, without this patch would introduce an invalid bitcast just before
the atomic builtin.
maarquitos14 pushed a commit that referenced this pull request Oct 17, 2025
…builtin ptr arg type. (#3390) (#3396)

Add missing case so that pointer argument types for
`OpAtomicCompareExchangeWeak` are resolved correctly. The newly added
test, without this patch would introduce an invalid bitcast just before
the atomic builtin.
svenvh pushed a commit that referenced this pull request Oct 17, 2025
…builtin ptr arg type. (#3390) (#3397)

Add missing case so that pointer argument types for
`OpAtomicCompareExchangeWeak` are resolved correctly. The newly added
test, without this patch would introduce an invalid bitcast just before
the atomic builtin.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants